<?php

	define(TYPE_WEBPAGE, 'webpage');
	define(TYPE_JS, 'js');
	define(TYPE_CSS, 'css');
	define(TYPE_STATIC, 'static');
	define(TYPE_XML, 'xml');

	define(PARSE_INPUT, 'i');
	define(PARSE_OUTPUT, 'o');
	
	$mappings = array(
	
					/* example */
					array(
						'site' => 'tr_shell', 'template_group' => 'ncform', 'template_name' => 'example', 'site_id' => '1',
						'path' => 'templates/ncform/example.php', 'template_type' => TYPE_WEBPAGE, 'allow_php' => 'y', 
						'php_parse_location' => PARSE_OUTPUT, 'create_pointer_pages' => true,
					),
					
					/* phrasebook */
					array(
						'site' => 'tr_shell', 'template_group' => 'ncform', 'template_name' => 'nce_form_phrasebook.xml', 'site_id' => '1',
						'path' => 'templates/ncform/nce_form_phrasebook.xml', 'template_type' => TYPE_XML, 'allow_php' => 'n', 
						'php_parse_location' => PARSE_OUTPUT
					),
					
					/* custom phrasebook */
					array(
						'site' => 'tr_shell', 'template_group' => 'ncform', 'template_name' => 'custom_phrasebook.xml', 'site_id' => '1',
						'path' => 'templates/ncform/custom_phrasebook.xml', 'template_type' => TYPE_XML, 'allow_php' => 'n', 
						'php_parse_location' => PARSE_OUTPUT
					),
					
					/* custom email template */
					array(
						'site' => 'tr_shell', 'template_group' => 'ncform', 'template_name' => 'custom_email_template', 'site_id' => '1',
						'path' => 'templates/ncform/custom_email_template.html', 'template_type' => TYPE_HTML, 'allow_php' => 'n', 
						'php_parse_location' => PARSE_OUTPUT
					),
					
					/* custom submission result template */
					array(
						'site' => 'tr_shell', 'template_group' => 'ncform', 'template_name' => 'custom_result_template', 'site_id' => '1',
						'path' => 'templates/ncform/custom_result_template.html', 'template_type' => TYPE_HTML, 'allow_php' => 'n', 
						'php_parse_location' => PARSE_OUTPUT
					),
	);
?>